package com.hoshiibuy.organization.feign.hystrix;

import com.hoshiibuy.common.rpc.Response;
import com.hoshiibuy.organization.feign.PlatformService;

/**
 * @Author:campchen
 * @Date:Created in 下午 02:59 2019/4/29
 * @PACKAGENAME com.hoshiibuy.organization.feign.hystrix
 * @Description
 */
public class HystrixPlatformFeignFallback implements PlatformService {
    @Override
    public Response getById(Long id) {
        return Response.failed("查询平台信息失败");
    }

    @Override
    public Response getPlatformDepartmentsById(Long id) {
        return Response.failed("查询平台部门信息失败");
    }
}
